import { NgModule, Optional, SkipSelf } from '@angular/core';
import { throwIfAlreadyLoaded } from './module-import-guard';
import { UtilService } from '@core/services/util.service';
import { ApiService } from '@core/services/api';
import { AreaService } from '../routes/sys-setting/area-manage/area.service';
import { MenuService } from '../routes/sys-setting/menu-manage/menu.service';
import { DicService } from '@core/services/dic.service';


@NgModule({
  providers: [
    ApiService,
    AreaService,
    MenuService,
    DicService,
  ],
  declarations: []
})
export class CoreModule {
  constructor( @Optional() @SkipSelf() parentModule: CoreModule) {
    throwIfAlreadyLoaded(parentModule, 'CoreModule');
  }
}
